package io.renren.modules.rpo.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.rpo.dao.UserJobDao;
import io.renren.modules.rpo.entity.UserJobEntity;
import io.renren.modules.rpo.service.UserJobService;



@Service("userJobService")
public class UserJobServiceImpl implements UserJobService {
	@Autowired
	private UserJobDao userJobDao;
	
	@Override
	public UserJobEntity queryObject(Integer id){
		return userJobDao.queryObject(id);
	}
	
	@Override
	public List<UserJobEntity> queryList(Map<String, Object> map){
		return userJobDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return userJobDao.queryTotal(map);
	}
	
	@Override
	public void save(UserJobEntity userJob){
		userJobDao.save(userJob);
	}
	
	@Override
	public void update(UserJobEntity userJob){
		userJobDao.update(userJob);
	}
	
	@Override
	public void delete(Integer id){
		userJobDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		userJobDao.deleteBatch(ids);
	}
	
}
